Skip to content

Conversation

@ahmedmaazin
Copy link

Description

Copilot AI review requested due to automatic review settings October 20, 2025 17:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for an active flag to the ConstructorItem class, allowing items to be marked as active or inactive. This addresses issue #170 by extending the item model with an active status field.

Key changes:

  • Added active Boolean field to ConstructorItem with a default value of true
  • Added a new constructor signature accepting id, name, and active parameters
  • Added getter and setter methods for the active field
  • Added a test case verifying that the active flag is properly persisted and retrieved

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
constructorio-client/src/main/java/io/constructor/client/ConstructorItem.java Added active field with default value, new constructor, and accessor methods
constructorio-client/src/test/java/io/constructor/client/ConstructorIOItemsTest.java Added test case to verify active flag functionality

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@esezen esezen requested review from a team and removed request for a team October 20, 2025 18:37
@ahmedmaazin ahmedmaazin force-pushed the feature/add-active-flag-to-constructor-item branch from 06fd0ff to 856c758 Compare October 20, 2025 22:09
@ahmedmaazin ahmedmaazin requested a review from Copilot October 20, 2025 22:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ahmedmaazin
Copy link
Author

Closing since this PR achieves the same.

@ahmedmaazin ahmedmaazin deleted the feature/add-active-flag-to-constructor-item branch October 23, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant